/**
 * Created by WebStorm.
 * User: 6922043@qq.com
 * NickName: bluemeng
 * Date: 2019/6/10 0010 13:59
 */
var vm = null;
Page({
    data: {
        imgUrls: [
            'https://images.unsplash.com/photo-1551334787-21e6bd3ab135?w=640',
            'https://images.unsplash.com/photo-1551214012-84f95e060dee?w=640',
            'https://images.unsplash.com/photo-1551446591-142875a901a1?w=640'
        ],
        indicatorDots: true,
        indicatorColor: '#fff',
        indicatorActiveColor: '#50c85a',
        autoplay: true,
        interval: 5000,
        duration: 500,
        circular: true,


    },
    init: function () {

    },
    onLoad: function (ret) {
        vm = this;
        console.log(JSON.stringify(ret));
    },
    onPullDownRefresh: function () {
        setTimeout(function () {
            wx.stopPullDownRefresh();
        }, 500)
    },
    onReachBottom: function () {
    },
    onShareAppMessage: function () {

    }
});